package com.example.novelsys.dao;


import com.example.novelsys.entity.Readlog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReadLogDao {


	//根据用户id查询阅读的小说记录
	@Select("select * from readlog where userId=#{userId}")
	  public List<Readlog> queryByID(Long userId);

}
